@import './vw';

* {
  box-sizing: border-box;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: vw(90);
  z-index: 1;
  background-color: #b20000;
  display: flex;
  display: -webkit-flex;
  justify-content: center;
  align-items: center;

  .line {
    position: absolute;
    top: vw(32);
    left: vw(35);
    width: vw(30);
    height: vw(24);

    img {
      width: 100%;
    }

    .massage {
      position: absolute;
      right: vw(-13);
      top: vw(-13);
      width: vw(25);
      height: vw(25);
      border-radius: 50%;
      background-color: #f00;
      color: #fff;
      font-size: vw(8);
      text-align: center;
      line-height: vw(26);
    }
  }

  .logo-box {
    // width: vw(264);
    padding-left: vw(45);
    flex-basis: 88%;
    display: flex;
    justify-content: center;

    img {
      width: vw(264);
    }
  }

  .search-box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: vw(42);
    width: vw(42);
    border-radius: 50%;
    border: 1px solid #fff;

    a {
      width: 70%;

      img {
        width: 100%;
      }
    }
  }
}

.content1 {
  position: relative;

  .lunbo {
    height: vw(357);
    width: vw(640);

    img {
      width: 100%;
      height: 100%;
    }
  }

  .text {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rosybrown;
    height: vw(104);
    width: 100%;
    color: #fff;
    background-color: rgba($color: #723f13, $alpha: .7);

    >p {
      margin-top: vw(24);
      margin-bottom: vw(22);
      font-size: vw(26);
      text-align: center;
    }

    .text-bottom {
      padding: 0 vw(20) 0 vw(30);
      display: flex;
      display: -webkit-flex;
      justify-content: space-between;
      font-size: vw(17);

      .like {
        display: flex;
        display: -webkit-flex;
        align-items: center;

        .love {
          display: flex;
          display: -webkit-flex;
          align-items: center;
          margin-right: vw(48);

          img {
            margin-right: vw(6);
            width: vw(19);
            height: vw(18);
          }
        }

        .eye {
          display: flex;
          display: -webkit-flex;
          align-items: center;

          img {
            margin-right: vw(6);
            width: vw(21);
            height: vw(12);
          }
        }
      }
    }
  }
}

.one-ar {
  position: relative;
  margin-top: vw(7);

  .lunbo {
    height: vw(357);
    width: vw(640);

    img {
      width: 100%;
      height: 100%;
    }
  }

  .text {
    position: absolute;
    bottom: 0;
    left: 0;
    padding-top: vw(19);
    height: vw(104);
    width: vw(640);
    background-color: rgba($color: #4a4746, $alpha: .9);
    display: flex;
    justify-content: center;
    font-size: vw(26);
    line-height: vw(38);
    color: #fff;

    >p:nth-of-type(1) {
      margin-right: vw(6);
      width: vw(182);
      height: vw(38);
      background-color: #b20000;
      text-align: center;
    }

  }
}

.one-re {
  position: relative;

  .lunbo {
    height: vw(357);
    width: vw(640);

    img {
      width: 100%;
      height: 100%;
    }
  }

  .text {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: vw(19) vw(28) vw(15) vw(30);
    height: vw(104);
    width: vw(640);
    background-color: rgba($color: #4a4746, $alpha: .9);
    font-size: vw(26);
    line-height: vw(38);
    color: #fff;

    .eye {
      display: flex;
      justify-content: space-between;

      p {
        img {
          width: vw(21);
          height: vw(13);
        }
      }

      >p:first-of-type {
        font-size: vw(22);
      }

      >p:nth-of-type(2) {
        margin-left: vw(140);
        font-size: vw(17);
      }

      >p:nth-of-type(3) {
        font-size: vw(17);
      }
    }
  }
}

.one-co {
  position: relative;

  .lunbo {
    height: vw(357);
    width: vw(640);

    img {
      width: 100%;
      height: 100%;
    }
  }

  .text {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: vw(19) vw(28) vw(15) vw(30);
    height: vw(104);
    width: vw(640);
    background-color: rgba($color: #4a4746, $alpha: .9);
    font-size: vw(26);
    line-height: vw(38);
    color: #fff;

    .text1 {
      margin-top: vw(10);
      display: flex;
      justify-content: flex-start;
      align-content: center;
      font-size: vw(16);
      line-height: vw(24);

      .time {
        display: flex;
        justify-content: space-between;

        img {
          margin-right: vw(10);
          width: vw(24);
          height: vw(24);
        }

      }

      .loc {
        margin-left: vw(20);
        display: flex;
        justify-content: space-between;

        img {
          margin-right: vw(10);
          width: vw(20);
          height: vw(24);
        }
      }
    }
  }
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: vw(96);
  z-index: 1;
  background-color: #f5f5f5;
  border-top: 1px solid #bbb9ba;

  ul {
    padding-bottom: vw(12);
    display: flex;
    display: -webkit-flew;
    align-items: flex-end;
    justify-content: space-evenly;
    height: 100%;

    li {
      font-size: vw(17);
      text-align: center;
      position: relative;

      p {
        margin-top: vw(7);
        color: #8b8b8b;
        cursor: pointer;

        &:active {
          color: red;
        }
      }


      .foot-logo {
        img {
          width: vw(52);
        }
      }

      &:nth-child(2) {
        .foot-logo {
          img {
            width: vw(48);
          }
        }
      }

      &:nth-child(3) {
        .foot-logo {
          img {
            width: vw(41);
          }
        }
      }

      &:nth-child(4) {
        .foot-logo {
          img {
            width: vw(42);
          }
        }
      }

      &:nth-child(5) {
        .foot-logo {
          img {
            width: vw(65);
          }
        }
      }

      &:not(:nth-child(5))::after {
        content: '';
        display: block;
        height: vw(50);
        width: vw(1);
        background-color: #ebebeb;
        position: absolute;
        right: vw(-30);
        top: vw(10);
      }
    }
  }
}

.swiper-container {
  /* 整体swiper风格 */
  --swiper-theme-color: red;
}